package com.lz.autotest.project.testmanage.reportmanage.service;

import com.lz.autotest.common.entity.ResponseVo;
import com.lz.autotest.project.testmanage.infmanage.domain.SstInf;
import com.lz.autotest.project.testmanage.reportmanage.domain.SstInfReport;
import com.lz.autotest.project.testmanage.reportmanage.domain.SstReportItem;

import java.util.List;
import java.util.Map;


/**
 * 部门管理 服务层
 *
 * @author lz
 */
public interface InfReportService
{
    public List<SstInfReport> queryInfReportList(SstInfReport sstInfReport);
    public int saveInfReport(SstInfReport sstInfReport);
    public int saveInfReport(SstInf sstInf);
    public void saveInfReportAsy(ResponseVo responseVo,SstInf sstInf);

    List queryAutoReportList(Map<String, Object> param);

    List queryAutoReportListByExport(Map<String, Object> param);

    void deleteReport(List<String> ids);

    void updateAutoStatus(String ip, SstReportItem sstReportItem);

    //保存单个线程报告
    public int saveInfReportItem(SstReportItem sstReportItem);

    public List<SstReportItem> queryReportItemByIds(List<String> ids);

    List<Map> getVersion(Map<String, Object> param);

    List<SstInfReport> getReportByVersion(Map<String, Object> param);

    int updateTsstReport(Map<String, Object> param);
}

